package com.youlemall;

import com.google.common.annotations.VisibleForTesting;
import org.apache.shiro.crypto.hash.SimpleHash;
import org.junit.Test;


/**
 * 2 * @Author: kevin
 * 3 * @Date: 2019/7/18 23:51
 * 4
 */
public class testpassword {


	@Test
	public void testPwd(){
		String password="123456";
		String username="admin";
		String md5 = new SimpleHash("md5", password,
				username, 5).toHex();
		System.out.println(md5);
	}
}
